package co.edu.usbcali.unidad.modelo.control;

import co.edu.usbcali.unidad.modelo.TipoPersona;

import java.math.BigDecimal;

import java.util.*;
import java.util.Date;
import java.util.List;
import java.util.Set;

/**
 * interface TipoPersonaLogic
 * 
 * @author Zathura Code Generator http://code.google.com/p/zathura
 * 
 */
public interface ITipoPersonaLogic {
	public List<TipoPersona> getTipoPersona() throws Exception;

	public void saveTipoPersona(String tipCodigoP, String tipNombreP)
			throws Exception;

	public void deleteTipoPersona(String tipCodigoP) throws Exception;

	public void updateTipoPersona(String tipCodigoP, String tipNombreP)
			throws Exception;

	public TipoPersona getTipoPersona(String tipCodigoP) throws Exception;

	public List<TipoPersona> findByCriteria(Object[] variables,
			Object[] variablesBetween, Object[] variablesBetweenDates)
			throws Exception;

	public List<TipoPersona> findPageTipoPersona(String sortColumnName,
			boolean sortAscending, int startRow, int maxResults)
			throws Exception;

	public Long findTotalNumberTipoPersona() throws Exception;
}
